import { ref } from "vue";

export function useHideNews() {
  const hideNews = ref([]);
  function addHideNews(news) {
    hideNews.value = [...hideNews.value, news]; //不会再被点击,不用set去重
  }
  return {
    hideNews,
    addHideNews,
  };
}
